package com.fellw.mango.real_person.authentication.api.service;

import com.fellw.mango.real_person.authentication.api.IDVerifiedOCRDto;
import com.fellw.mango.real_person.authentication.api.IDVerifiedOCRResult;

/**
 * 持久化
 */
public interface MemberVerifiedPersist {

    /**
     * Add user ID recognition results
     *
     * @param memberId            user
     * @param idVerifiedOCRResult IDVerifiedOCRResult
     * @param exemptFaceAuth      Whether to exempt facial authentication
     */
    Long addUserIdOCRResult(Object memberId, IDVerifiedOCRDto idVerifiedOCRDto,
                            IDVerifiedOCRResult idVerifiedOCRResult,
                            boolean exemptFaceAuth);
}
